from rest_framework import serializers
from .models import XhsNote

class XhsNoteSerializer(serializers.ModelSerializer):
    class Meta:
        model = XhsNote
        fields = ['id', 'video_url', 'title', 'desc', 'time', 'image_list']